package com.sunny;

public class Son extends Parent {
    private int s;

    public Son(int par, int s) {
        super(par);
        this.s = s;
    }

    public int getS() {
        return s;
    }

    public void setS(int s) {
        this.s = s;
    }

    @Override
    public String toString() {
        return super.toString()+"Son{" +
                "s=" + s +
                '}';
    }
}
